package com.huangliusong.hlsinspringboot.configuration;

import com.huangliusong.hlsinspringboot.annotation.EnableHelloWorld;
import com.huangliusong.hlsinspringboot.condition.ConditonalOnSystemProperty;
import org.springframework.context.annotation.Configuration;

/**
 * HelloWorld自动装配
 */
@Configuration //spring模式装配
@EnableHelloWorld //Enable模块装配 这个会去装载HelloWorldImportSelector.class然后间接的去装载HelloWorldConfiguration.class
@ConditonalOnSystemProperty(name = "user.name",value = "kw-hls") //条件装配
public class HelloWorldAutoConfiguration {
}
